PathOfTravel.UpdateMultiple
Description:
Updates the specified paths of travel by recalculating each path using their original start and end points and provides creation result statuses.
Updates the specified paths of travel by recalculating each path using their original start and end points and provides creation result statuses.
Remarks:
For unsuccessfully updated elements, Revit will post warnings.
For unsuccessfully updated elements, Revit will post warnings.
Overloads (2):
UpdateMultiple(Document,IList[ElementId],IList[PathOfTravelCalculationStatus])
public static int UpdateMultiple(
Document adoc,
IList<ElementId> elementsToUpdate,
out IList<PathOfTravelCalculationStatus> resultStatus
)
-
adocDocument of elements to be updated.
-
IList<ElementId>elementsToUpdateThe list of ElementIdof the paths to update.
-
resultStatusResult statuses of each path of travel creation. The order of statuses corresponds to the order of elements in the array passed to the function.
Return Value
int
number of successfully updated elements
-
A non-optional argument was NULL
-
This functionality is not available in Revit LT.